-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Rewrite the Tensorboards Web App charm following the sidecar pattern #74
Conversation
12ec345
to
e4e6c0a
Compare
e4e6c0a
to
8d91647
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @orfeas-k, some comments.
Extremely pedantic suggestion for the upgrade instructions :)
should be
Doesn't change the function, but gets the terminology consistent with elsewhere. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggested changes, but overall looks really good!
charms/tensorboards-web-app/src/templates/auth_manifests.yaml.j2
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops. misclick on the previous review!
Remove tensorboards-web-app aggregation roles since TWA charm now follows the sidecar pattern with Pebble and can apply aggregation roles itself. See canonical/kubeflow-tensorboards-operator#74
- Modify on_remove to use krh.delete() function - Rename err to error in all instances - Remove container connection check since it is done by update_layer() - Set status in _on_event instead of _configure_mesh() - Stop logging inside check_leader
fb16824
to
d37f702
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments @orfeas-k, after that I think I can approve.
Modify charm message when there is no ingress relation available.
e27861e
to
6b3c749
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @orfeas-k , great initial contribution!
Remove tensorboards-web-app aggregation roles since TWA charm now follows the sidecar pattern with Pebble and can apply aggregation roles itself. See canonical/kubeflow-tensorboards-operator#74
This PR rewrites the Tensorboards Web App (TWA) charm following the sidecar pattern
In short:
production
as default for config's Backend-modeUpgrade instructions
i. the image since
oci-image
was changed totensorboards-web-app-image
.ii. the path to the local charm or the corresponding channel (for charms released in charmhub)
or